package hxy.oxygen.demo;

import vip.justlive.oxygen.web.router.Router;
import vip.justlive.oxygen.web.server.Server;

/**
 * @author eric
 * @program oxygen-demo
 * @description
 * @date 2021/10/15
 */

public class OxygenApplication {
    public static void main(String[] args) {
        Router.router().path("/").handler(ctx -> {
            ctx.response().write("Oxygen Application");
        });
        Server.listen(8080);
    }
}
